Automattic\Jetpack\Connection\REST_Connector C

Total Complexity 112
Dependencies 15
Dependents 4
Total lines 1,091
Lines of code 614
Logical lines of code 207
Comment lines 337
Methods 32
Properties 2

Methods 32

Method Rating Maintainability Complexity Lines of code
__construct()
B
27
5 214
unlink_user()
A
50 11 27
is_request_signed_by_jetpack_debugger()
A
50 9 27
connection_register()
A
51 8 26
get_user_connection_data()
A
43 6 48
connection_reconnect()
S
52 7 26
update_user_token()
S
51 7 24
connection_status()
S
50 5 27
get_connection_plugins()
S
59 3 16
remote_provision_permission_check()
S
65 4 8
remote_provision()
S
61 3 12
unlink_user_permission_callback()
S
64 3 10
connection_check_permission_check()
S
66 3 8
disconnect_site_permission_check()
S
66 3 8
connection_plugins_permission_check()
S
65 3 9
remote_register_permission_check()
S
67 3 8
set_connection_owner()
S
62 2 12
disconnect_site()
S
61 2 12
set_connection_owner_permission_check()
S
69 2 6
update_user_token_permission_check()
S
72 2 5
remote_authorize()
S
66 2 8
remote_connect()
S
66 2 8
remote_register()
S
66 2 8
connection_authorize_url()
S
65 2 9
jetpack_register_permission_check()
S
69 2 6
remote_connect_permission_check()
S
72 2 5
jetpack_reconnect_permission_check()
S
69 2 6
activate_plugins_permission_check()
S
69 2 6
user_connection_data_permission_check()
S
65 2 10
get_user_permissions_error_msg()
S
80 1 3
verify_registration()
S
75 1 4
connection_check()
S
68 1 8